package com.huangxt.test;

public class StringCommonUtil {
    public static String checkNull(Object obj){
        if(obj==null){
            return "";
        }else if(obj instanceof String){
            return (String)obj;
        }else{
            return obj.toString();
        }
    }
}
